// To parse this JSON data, do
//
//     final partnerShipPayModel = partnerShipPayModelFromJson(jsonString);

import 'dart:convert';

PartnerShipPayModel partnerShipPayModelFromJson(String str) => PartnerShipPayModel.fromJson(json.decode(str));

String partnerShipPayModelToJson(PartnerShipPayModel data) => json.encode(data.toJson());

class PartnerShipPayModel {
  PartnerShipPayModel({
    this.timeStamp,
    this.package,
    this.paySign,
    this.appId,
    this.partnerid,
    this.prepayid,
    this.nonceStr,
    this.payInfo,
  });

  String? timeStamp;
  String? package;
  String? paySign;
  String? appId;
  String? partnerid;
  String? prepayid;
  String? nonceStr;
  String? payInfo;

  factory PartnerShipPayModel.fromJson(Map<String, dynamic> json) => PartnerShipPayModel(
        timeStamp: json["timeStamp"],
        package: json["package"],
        paySign: json["paySign"],
        appId: json["appId"],
        partnerid: json["partnerid"],
        prepayid: json["prepayid"],
        nonceStr: json["nonceStr"],
        payInfo: json['payInfo'],
      );

  Map<String, dynamic> toJson() => {
        "timeStamp": timeStamp,
        "package": package,
        "paySign": paySign,
        "appId": appId,
        "partnerid": partnerid,
        "prepayid": prepayid,
        "nonceStr": nonceStr,
        'payInfo': payInfo,
      };
}
